﻿/************************************************************************************
 * 
 * The MIT License
 * Copyright (c) 2010 Gaiaware AS
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 * 
 ***********************************************************************************/

.darkblue-calendar-container
{
	background: #fff none repeat scroll 0 0;
	border: 1px solid #1b376c;
	padding: 0px;
	position: relative;
}

.darkblue-calendar-container a
{
    -moz-outline:0;
    outline:0;
    outline-style: none;
}

.darkblue-calendar-input-text
{
	font-size:11px;
	width:80px;
}

.darkblue-calendar-previous-year,
.darkblue-calendar-previous-month,
.darkblue-calendar-current-month,
.darkblue-calendar-next-month,
.darkblue-calendar-next-year
{
	background: #003A6C url(cal-gradient.png) repeat-x scroll left top;
	color: #fff;
	font-family: Arial,Helvetica,Tahoma,Sans-Serif, Monospace;
	font-size: 11px;
	font-weight: bold;
	overflow: hidden;
	vertical-align: middle;
}

.darkblue-calendar-previous-year,
.darkblue-calendar-previous-month,
.darkblue-calendar-next-month,
.darkblue-calendar-next-year
{
	width: 18px;
}
.darkblue-calendar-next-month 
{
	text-align: right;
}

.darkblue-calendar-previous-year a,
.darkblue-calendar-previous-month a, 
.darkblue-calendar-next-month a,
.darkblue-calendar-next-year a
{
	background: transparent url(cal-buttons.png) no-repeat scroll 0 0;
	height: 15px;
	width: 15px;
	cursor: pointer;
	display: block;
    opacity:1;
    -moz-opacity: 0.75;
    filter: alpha(opacity=75);
}

.darkblue-calendar-previous-year a:hover,
.darkblue-calendar-previous-month a:hover, 
.darkblue-calendar-next-month a:hover,
.darkblue-calendar-next-year a:hover
{
    opacity:0.8;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
}

.darkblue-calendar-previous-year a
{
	background-position: 0px -60px;
	margin-left: 5px;
}

.darkblue-calendar-previous-month a
{
	background-position: 0px -15px;
	margin-left: 5px;
}

.darkblue-calendar-current-month 
{
	padding: 2px 0pt;	
	width: 62%;
}

.darkblue-calendar-current-month a.darkblue-calendar-month
{
	color: #FFF;
	text-decoration: none;
}

.darkblue-calendar-next-month a
{
	text-align: right;
	background-position: 0px -30px;
	margin-right: 5px;
	text-decoration:none !important;
}

.darkblue-calendar-next-year a
{
	text-align: right;
	background-position: 0px -75px;
	margin-right: 5px;
	text-decoration:none !important;
}

/* END TOP DIV */

table.darkblue-calendar-daywrapper
{
	table-layout: fixed;
	width: 100%;
	
}

.darkblue-calendar-daywrapper,
.darkblue-calendar-daywrapper td,
.darkblue-calendar-daywrapper th
{
	border-collapse: separate;
	height: 20px;
}

.darkblue-calendar-daywrapper th
{
	background-position: left top;
	background: #004D93 url(cal-gradient.png) repeat-x scroll left top;
	border-bottom: 1px solid #727272;
	color: #FFF;
	cursor: default;
	font-family: Arial,Helvetica,Tahoma,Sans-Serif, Monospace;
	font-size: 10px;
	font-weight: normal;
	text-align: right;
	width: 25px;
}

.darkblue-calendar-daywrapper td span
{
	font-style: normal;
}

.darkblue-calendar-daywrapper th span
{
	margin-right: 7px;
	padding: 2px;
	display: block;
}

.darkblue-calendar-active 
{
	color: #2E2E2E;
}

.darkblue-calendar-day
{
	color: #333;
	display: block;
	font-family: Arial,Helvetica,Tahoma,Sans-Serif, Monospace;
	font-size: 12px;
	padding: 1px 4px 2px 3px;
	text-align: center;
	font-style: normal;
	text-decoration: none;
	cursor: pointer;
}

.darkblue-calendar-daywrapper a
{
	border: 1px solid white;
}

.darkblue-calendar-daywrapper a:hover
{
    text-decoration:none;
    color:black;
    background-color: #eee;
    border:solid 1px #abc0e5;
}

.darkblue-calendar-selected a
{
	background: transparent url(cal-gradient.png) repeat-x scroll left top;
	border: 1px solid #333;
	font-weight: bold;
}

.darkblue-calendar-selected span
{
	font-weight: bold;
}

.darkblue-calendar-next-day a,
.darkblue-calendar-previous-day a
{
	color: #777;
	text-decoration: none;
}

.darkblue-calendar-bottom
{
	background: #EAF4FF url(cal-gradient.png) repeat-x scroll left top;
	border-top: 1px solid #aaa;
	padding: 2px;
}

/* YEAR/MONTH PICKER HERE  */

.darkblue-calendar-ympicker
{
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: auto;
	background: white none repeat scroll 0% 0%;
	position: absolute; 
}

.darkblue-calendar-ympicker td
{
	font-family: Arial,Helvetica,Tahoma,Sans-Serif, Monospace;
	font-size: 11px;
	font-weight: normal;
}

td.darkblue-calendar-ympicker-month,
td.darkblue-calendar-ympicker-year,
td.darkblue-calendar-ympicker-yearbutton
{
	border: 0pt none;
	text-align: center;
	vertical-align: middle;
	width: 25%;
	cursor: pointer;
}

td.darkblue-calendar-ympicker-month a,
td.darkblue-calendar-ympicker-year a
{
	color: #154154;
	display: block;
	padding: 2px 0px 2px 0px;
	text-align: center;
	text-decoration: none;
}

.darkblue-calendar-ympicker-yearbutton a
{
	background: transparent url(cal-buttons.png) no-repeat scroll 0% 0%;
	cursor: pointer;
	display: block;
	height: 15px;
	width: 15px;
	opacity:.75;
    -moz-opacity: 0.75;
    filter: alpha(opacity=75);
}

.darkblue-calendar-ympicker-yearbutton a:hover
{
	opacity:1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
}

.darkblue-calendar-ympicker-yearbutton a.darkblue-calendar-ympicker-next
{
	background-position: 0px -30px;	
	float:right;
	margin-right:10px;
}

.darkblue-calendar-ympicker-yearbutton a.darkblue-calendar-ympicker-previous
{
	float:left;
	margin-left: 10px;
	background-position: 0px -15px;
}

td.darkblue-calendar-ympicker-selected a
{
	background: transparent url(cal-gradient.png) repeat-x scroll left top;
	border: 1px solid #888;
	padding: 1px 3px;
}

input.darkblue-calendar-withtime-part
{
	width:22px;
	height:14px;
	font-size:12px;
	font-family: Arial, Helvetica, Tahoma, Sans-Serif;
	text-align:center;
	border:none;
}

.darkblue-calendar-withtime-nav
{
    width:12px;
    text-align:center;
}

.darkblue-calendar-withtime-nav a,
.darkblue-calendar-withtime-nav span
{
    color:#FFF;
    font-size:12px;
    text-decoration:none;
    height:16px;
    font-weight:normal;
}

/* styles for inner extended button */
.darkblue-datetimepicker-button span,
.darkblue-calendar-bottom span
{
	height: 24px;
}

.darkblue-datetimepicker-button button span,
.darkblue-calendar-bottom button span
{
	font-size:12px;
	font-family: Arial, Helvetica, Tahoma, Sans-Serif;	
}